package com.linkai.io;

import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.Scanner;

/**
 * @Description: OJ在线编程常见输入输出练习
 *                https://www.nowcoder.com/test/question/93bc96f6d19f4795a4b893ee16e97654
 * @Author: 林凯
 * @Date: 2021/10/17 16:51
 */
public class T07 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> arrayList = new ArrayList<>();
        String line;
        while (sc.hasNext()) {
            int lineSum = 0;
            line = sc.nextLine();
            String[] split = line.split(" ");
            for (int i = 0; i < split.length; i++) {
                lineSum += Integer.valueOf(split[i]);
            }
            arrayList.add(lineSum);
        }

        for (int i = 0; i < arrayList.size(); i++) {
            System.out.println(arrayList.get(i));
        }
    }
}
